import { post } from '../utils/axios'

// 用户信息
export async function GetUserInfo() {
  return post('/api/get_my_info')
}

export async function sendCode(data) {
  return post('/api/verification', data)
}
export async function checkCode(data) {
  return post('/api/is_verification', data)
}

export async function GetAndroidMenu(data) {
  return post('/api/androidGoodsList', data)
}

export async function GetIosMenu(data) {
  return post('/api/pay/iosAppleGoodsList', data)
}

export async function ApplyWithdraw(data) {
  return post('/api/applyWithdraw', data)
}

export async function ToPay(data) {
  return post('/api/rechargePay', data)
}

// vip会员信息
export async function VipData(data) {
  return post('/api/vip', data)
}
export async function Vip2Data(data) {
  return post('/api/vip_v2', data)
}

export async function VipPrivilegeData(data) {
  return post('api/wealth_v2', data)
}
export async function GlamourPrivilegeData(data) {
  return post('api/glamour_v2', data)
}

export async function SignIn(data) {
  return post('/api/signIn', data)
}

export async function SignGift(data) {
  return post('/api/task/getSignWareList', data)
}

export async function BankData(data) {
  return post('/api/pigSign', data)
}

export async function ToTurnMoney(data) {
  return post('/api/changeMiZuan', data)
}

// 提现记录
export async function GetWithdrawalList(data) {
  return post('/api/getWithdrawalList', data)
}
// 获取收益明细
export async function GetIncomeList(data) {
  return post('/api/getIncomeList', data)
}
// 爱Dou变动记录
export async function GetAidouList(data) {
  return post('/api/getAidouList', data)
}

export async function GetNickname(data) {
  return post('/api/getNickName', data)
}

export async function GetChooseMethod(data) {
  return post('/api/withdrawal/getUseBankList', data)
}

export async function updateAliAccount(data) {
  return post('/api/withdrawal/editAliAccount', data)
}

export async function getUserinfoById(data) {
  return post('/api/get_user_info', data)
}

export async function getMutualAttentionUsers(data) {
  return post('/api/user/getMutualAttentionUsers', data)
}

// 清除财富/魅力等级
export async function clearLevelReq(data) {
  return post('/api/clearLevel', data)
}
